<template>
<div>
    <div class="carList">
        <div class="carText">
            <span class="t1">全场换购</span>
            <span class="t2">已满0.01元,可选择10件商品换购</span>
            <span class="t3">去换购></span>
        </div>

        <!-- 卡片1 -->
        <div class="cartList_img">
            <CartClass></CartClass>
        </div>
        <!-- 留白 -->
        <div class="box_white"></div>
    </div>
</div>
    
</template>

<script setup lang="ts">
import CartClass from './CartClass/index.vue'
</script>

<style scoped lang="scss">
.carList{
   background-color:rgb(255, 255, 255);
   border-radius: 10px;
   padding: 0;
   .carText{
    padding: 0 12px;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .t1{
      font-size: 16px;
      line-height: 24px;
      font-weight: 700;
    }
    .t2{
        font-size: 12px;
        line-height: 18px;
        margin: 0 8px;
        text-align: right;
    }
    .t3{
        font-size: 12px;
        line-height: 18px;
        align-items: flex-end;
        color: rgb(250, 87, 109);
    }
    }
    .cartList_img::-webkit-scrollbar{
            display: none;
        };
    .cartList_img{
        
        width: 330px;
        display: flex;
        overflow: auto;
        padding: 0;
        margin: 4px 12px 8px;
    }
    .box_white{
        height: 10px;
        background-color:rgb(255, 255, 255);
        border-radius: 10px;
    }
}

</style>